<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<script src="script/jquery.min.js"></script>
	<script src="script/device.min.js"></script>
	<script src="script/function.js"></script>
	<title>密码登录</title>
</head>

<script>
	if (device.mobile()){window.location =  jumpUrl('/room/m/pwdLogin.php');}
</script>

<style>
	.pwdLogin {
		width: 944px;
		position: absolute;
		left: 50%;
		top: 50%;
		margin-top: -227px;
		margin-left: -472px;
	}
	.pWrap { position: relative}
	.pwd {
		position: absolute;
		right: 444px;
		top: -262px;
		width: 295px;
		height: 60px;
		line-height: 73px;
		padding: 0 10px;
		border: 0 none;
		/* color: #fff; */
		margin-left: -395.5px;
		background: none;
		font-size: 29px;
	}

	.sbtn  {
		position: absolute;
		right: 235px;
		top: -262px;
	}
	.sbtn{
		cursor:pointer;
	}
</style>
<body>
		<div class="wrap">
			<div class="pwdLogin">
				<img id="pwdimg" src="http://down.gdgccj.com/yzgw/room/images/pwdlogin.jpg" alt="">
				<div class="pWrap">
					<input type="text" name="pwd" class="pwd" id="pwd" value="输入您的密码" onblur="likai(this)" onfocus="qingkong(this)">

					<script type="text/javascript">
						var value=document.getElementById('tel');
						function qingkong(inputObj){
							if(inputObj.value=="输入您的密码"){
								inputObj.value="";
							}
						}
						function likai(inputObj){
							if(inputObj.value==''){
								inputObj.value="输入您的密码";
							}
						}
					</script>
					<div class="sbtn">
						<img src="images/sbtn.png" alt="">
					</div>
				</div>
			</div>
		</div>

		<script>
			if(<?php echo isset($_REQUEST['e'])?$_REQUEST['e']:0;?>){
				alert('密码错误');
			}

			$('.sbtn').click(function(){
				var pwd = $('#pwd').val();
				window.location.href= jumpUrl('/room')+'&rpwd='+pwd;
			});

		</script>


</body>
</html>